package com.ruoyi.factory.erp.controller;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.factory.erp.service.ErpHandleService;
import com.ruoyi.factory.erp.service.ErpStandapiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import javax.servlet.http.HttpServletRequest;

/**
 * @author: LiuJiaji
 * @date: 2025/9/24 11:06
 * @description: TODO erpapi标准数据接口
 * @param:
 * @return:
 **/
@RestController
@RequestMapping("/system/erpstandapi")
public class ErpStandapiController {

    @Autowired
    private ErpStandapiService erpStandapiService;

    //物料基本分类
    //物料主数据
    @PostMapping("/getStaffInfo")
    public AjaxResult getPersonInfo(){

        return null;
    }

    //物料基本分类
    //物料主数据
    @PostMapping("/getOrgDept")
    public AjaxResult getOrgDept(@RequestBody String req, HttpServletRequest request){
        return erpStandapiService.getOrgDept(req,request);
    }
}